package com.mapper;

import com.mybatisflex.core.BaseMapper;
import com.entity.FUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 *  映射层。
 *
 * @author admin
 * @since 2024-05-14
 */
@Mapper
public interface FUserMapper extends BaseMapper<FUser> {
    @Select("SELECT * FROM f_user WHERE user_name=#{userName} and pwd=#{pwd}")
    public FUser userLogin(FUser user);
}
